/* © 2024 National Technology & Engineering Solutions of Sandia, LLC (NTESS).  Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software. */
/* SPDX-License-Identifier: BSD-3-Clause */

* {
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
}

main {
  padding: 20px;
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #031e48;
}

h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #031e48;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

td {
  font-size: 18px;
  line-height: 1.6;
}

label {
  font-size: 18px;
  line-height: 1.6;
}

option {
  font-size: 15px;
  line-height: 0.2;
}

button {
  background: #043870;
  border-radius: 5px;
  box-shadow: #043870 0 5px 10px -5px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: Inter, Helvetica, "Apple Color Emoji", "Segoe UI Emoji",
    NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji",
    EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 12px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
}

select {
  width: 20%;
  height: 36px;
  border-radius: 4px;
  padding-left: 2px;
  font-size: 14px;
  font-weight: normal;
  border: 1px solid rgb(137, 151, 155);
  transition: border-color 150ms ease-in-out 0s;
  outline: none;
  color: #043870;
  background-color: rgb(255, 255, 255);
  padding-right: 12px;
}

select option {
  color: black;
  width: 30px;
}

.homeblock2 {
  background-color: #f0f0f5;
  border: 3px solid #043850;
  padding-left: 45px;
  box-shadow: #043870 0 5px 10px -5px;
  border-radius: 5px;
}

.navbar {
  z-index: 5;
  position: fixed;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(to bottom, #043860, #043885);
  color: #fff;
}

.navbar-logo {
  position: fixed;
  height: 40px;
  margin-right: 5px;
}

.nav-links a {
  position: fixed;
  color: #fff;
}

/* LOGO */
.logo {
  font-size: 32px;
}

/* NAVBAR MENU */
.menu {
  display: flex;
  gap: 4em;
  font-size: 18px;
}

.menu li {
  padding: 5px 14px;
}

.modal {
  z-index: 1;
  position: absolute;
  border: 3px solid #043850;
  width: 55vw;
  padding-top: 0px;
  border-radius: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  background: #f0f0f5;
  box-shadow: #043870 0 5px 10px -5px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  line-height: 2.3;
}

.changeweightsbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  border: 3px solid #043850;
  border-radius: 10px;
  width: 30vw;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  background: #f0f0f5;
  box-shadow: #043870 0 5px 10px -5px;
  width: 400px;
  margin-top: 7px;
  margin-left: 30px;
  margin-right: 80px;
  height: 275px;
}

.graphim {
  width: 700px;
  height: auto;
  border: 3px solid #043850;
  border-radius: 10px;
  box-shadow: #043870 0 5px 10px -5px;
  padding: 5px;
}

hr {
  border: 0;
  height: 1.5px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    #043850,
    rgba(0, 0, 0, 0)
  );
}

.tableContainer {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.tableContainer body {
  font-family: Helvetica;
  -webkit-font-smoothing: antialiased;
  background: rgba(71, 147, 227, 1);
}

.tableContainer h2 {
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  padding: 30px 0;
}

/* Table Styles */

.tableContainer {
  margin: 10px 70px 70px;
  box-shadow: 0px 35px 50px rgba(0, 0, 0, 0.2);
}

table {
  left: 50%;
  font-size: 16.5px;
  font-weight: normal;
  border: 3px solid #043850;
  border-radius: 10px;
  border-collapse: unset;
  max-width: 100%;
  white-space: nowrap;
  background-color: white;
  background: #f0f0f5;
  box-shadow: #043870 0 5px 10px -5px;
  height: 5vh;
  position: relative;
  transform: translateX(-50%);
}

table th {
  white-space: normal;
}

table td,
table th {
  text-align: center;
  padding: 8px;
}

th:first-child {
  font-weight: bold;
}

table td {
  border-right: 1px solid #e7e3ff;
  font-size: 14px;
}

table thead th {
  color: #ffffff;
  background-color: #043885;
}

table thead th:nth-child(odd) {
  color: #ffffff;
  background: #031e48;
}

table tr:nth-child(even) {
  background: #f8f8f8;
}

.big-container {
  display: flex;
  flex-wrap: wrap;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow-y: scroll;
  height: calc(26vw * 0.78 + 300px);
  width: 60vw;
}

.card-container {
  width: 35vw;
  align-items: center;
  left: 50px;
  position: relative;
}

.card {
  border: 1px solid #031e48;
  border-radius: 5px;
  padding: 10px;
  margin: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 26vw;
  display: flex;
  flex-direction: column;
}

.image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
  position: relative;
}

.topbutton {
  padding: 5px top;
  position: fixed;
  top: 155px;
  right: 10px;
  height: 40px;
  border-radius: 200px;
}

.homeblock {
  padding: 5px;
  border-radius: 5px;
}

.homeblock h2 {
  margin: 35px;
}

.smallblock {
  display: flex;
  margin-left: 50px;
  margin-right: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.smallblock img {
  border-radius: 15px;
  height: min-content;
}

.error-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background-color: #ff5050;
  color: #fff;
  text-align: center;
  font-weight: bold;
  display: none;
  z-index: 9999;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 4s ease-in;
}

#headerTitle {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

#headerTitle.hidden {
  opacity: 0;
}
